﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Web.Menus
{
    /// <summary>
    /// 表示菜单
    /// </summary>
    public class Menu
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 连接
        /// </summary>
        public string Link { get; set; }
        /// <summary>
        /// 是否活动
        /// </summary>
        public bool IsActive { get; set; }
        /// <summary>
        /// 父菜单
        /// </summary>
        public Menu ParentMenu { get; set; }
        /// <summary>
        /// 子菜单
        /// </summary>
        public Menu[] SubMenus { get; set; }
    }
}